package cn.com.zero.db.vo;

import cn.com.zero.base.vo.BaseVO;
import com.github.pagehelper.IPage;


/**
 * @author liuxh
 * @version 1.0.0
 * @Description 接收请求中关于分页的属性信息
 * @createTime 2022/7/26 15:41
 */
public class PageParamsVO extends BaseVO implements IPage {
    /**
     * 当前页码
     */
    private Integer pageNum;

    /**
     * 每页请求条数
     */
    private Integer pageSize;

    /**
     * 排序条件
     */
    private String orderBy;

    @Override
    public Integer getPageNum() {
        return this.pageNum;
    }

    @Override
    public Integer getPageSize() {
        return this.pageSize;
    }

    @Override
    public String getOrderBy() {
        return this.orderBy;
    }

    public void setPageNum(int pageNum) {
        this.pageNum = pageNum;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }


    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }


}
